import request from '@/utils/request'

// 查询求租会员列表
export function listAVipRentRecords(query) {
  return request({
    url: '/system/aVipRentRecords/list',
    method: 'get',
    params: query
  })
}

export function listAVipRentRecor() {
  return request({
    url: '/system/aVipRentRecords/recordList',
    method: 'get'
  })
}


// 查询求租会员详细
export function getAVipRentRecords(id) {
  return request({
    url: '/system/aVipRentRecords/' + id,
    method: 'get'
  })
}

// 新增求租会员
export function addAVipRentRecords(data) {
  return request({
    url: '/system/aVipRentRecords',
    method: 'post',
    data: data
  })
}

// 修改求租会员
export function updateAVipRentRecords(data) {
  return request({
    url: '/system/aVipRentRecords',
    method: 'put',
    data: data
  })
}

// 删除求租会员
export function delAVipRentRecords(id) {
  return request({
    url: '/system/aVipRentRecords/' + id,
    method: 'delete'
  })
}

// 逻辑删除求租会员
export function logicDelAVipRentRecords(id) {
  return request({
    url: '/system/aVipRentRecords/logicDel/' + id,
    method: 'delete'
  })
}
